<!DOCTYPE html>
<html>
<head>
    <title>{$category.name} {$category.seo_title} {$site_info.site_name|default=''}</title>
    <meta name="keywords" content="{$category.seo_keywords},{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$category.seo_description},{$site_info.site_seo_description|default=''}">
    <include file="public@head"/>
    <hook name="before_head_end"/>
</head>
<body class="body-white">
<include file="public@nav"/>

<!--banner start-->
<div class="ui fluid container">
    <img src="__TMPL__/static/images/hzhb_banner.jpg" style="width:100%;" alt="">
</div>
<!--banner end-->

<!--软件方案 start-->
<div class="ui fluid container" style="background: #FFFFFF;">
    <php>
        $where=[
        'post.create_time'=>['egt',0]
        ];
    </php>
    <div class="ui three column grid container" style="padding-top:10rem;padding-bottom: 10rem;">
        <portal:allSubCategories categoryId="$category.id" item="vo">
        <div class="column">
            <div class="ui segment fangan-menu">
                <img src="{:cmf_get_image_url($vo.more.thumbnail)}" alt="">
                <div class="title">{$vo.name}</div>
                <portal:articles item="article" where="$where" order="post.create_time DESC" page="10"
                                 relation="categories"
                                 categoryIds="$vo.id"
                                 returnVarName="articles_data">
                    <a href="{:cmf_url('portal/Article/index',array('id'=>$article['id'],'cid'=>$vo.id))}">{$article.post_title}</a>
                </portal:articles>
            </div>
        </div>
        </portal:allSubCategories>

    </div>
</div>
<!--软件方案 end-->
    <include file="public@footer"/>
</div>

<include file="public@scripts"/>
<hook name="before_body_end"/>
</body>
</html>